<template>
  <div class="box">
    <!-- <div class="goHome" @click="goHome">返回主页</div> -->
    <div class="banner">
      <h1>信用信息查询</h1>
      <div class="scan">
        <el-input
          v-model="entname"
          placeholder="请输入企业名称/股东高管/商标名称/专利"
          clearable
          style="width: 4.1667rem"
        />
        <h4 @click="scan">查询</h4>
        <h4 class="screen" @click="screen">
          <img src="@/assets/query/组115.png" alt="" />
        </h4>
      </div>
    </div>
    <div class="f2">
      <div class="f2_content">
        <div class="list">
          <div class="item">
            <img src="@/assets/query/组116.png" alt="" />
            <h6>工商信息</h6>
          </div>
          <div class="item">
            <img src="@/assets/query/组117.png" alt="" />
            <h6>经营风险</h6>
          </div>
          <div class="item">
            <img src="@/assets/query/组118.png" alt="" />
            <h6>企业发展</h6>
          </div>
          <div class="item">
            <img src="@/assets/query/组119.png" alt="" />
            <h6>法律诉讼</h6>
          </div>
          <div class="item">
            <img src="@/assets/query/组120.png" alt="" />
            <h6>经营信息</h6>
          </div>
          <div class="item">
            <img src="@/assets/query/组121.png" alt="" />
            <h6>知识产权</h6>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import { myPostFetch } from '@/api/report'
export default {
  data() {
    return {
      status: true,
      entname: '',
      list: null
    }
  },
  mounted() {
    document.documentElement.scrollTop = 0
  },
  methods: {
    goHome() {
      this.$router.push('/')
    },
    async scan() {
      if (this.entname == '') return this.$Message.error('请输入内容')
      this.$router.push(`/query?entname=${this.entname}`)
    },
    // 跳转高级查询
    screen() {
      sessionStorage.removeItem('params')
      this.$router.push(`/advancedQuery`)
    }
  }
}
</script>
<style scoped lang="scss">
.box {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  // background-color: #f5f7fa;
  background: url(@/assets/query/query_bg.jpg);
  background-size: 100% 100%;

  .goHome {
    cursor: pointer;
    z-index: 9999;
    position: absolute;
    right: 0.4167rem;
    top: 0.2083rem;
    font-size: 0.0833rem;
    font-weight: 500;
    color: #ffffff;
    text-decoration: underline;
  }
  .banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 1.7188rem;
    // background: url(@/assets/query/组114.png);
    background-size: 100% 100%;

    h1 {
      font-size: 0.2083rem;
      font-family: Source Han Sans SC;
      font-weight: bold;
      color: #ffffff;
      font-weight: 600;
    }
    .scan {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 0.2708rem;
      margin-top: 0.2917rem;
      h4 {
        cursor: pointer;
        align-items: center;
        justify-content: center;
        display: flex;
        width: 0.5208rem;
        height: 0.2708rem;
        background: #ff752c;
        border-radius: 0px 0.0208rem 0.0208rem 0px;
        color: #fff;
        font-size: 0.1042rem;
        font-weight: 400;
      }
      .screen {
        width: 0.7708rem;
        height: 0.2708rem;
        background: rgba(255, 255, 255, 0.25);
        border-radius: 0.0208rem;
        margin-left: 0.0521rem;
        img {
          width: 100%;
          height: 100%;
        }
      }
    }
  }
  .f2 {
    width: 100%;
    // background-color: #f5f7fa;
    .f2_content {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 6.25rem;
      margin: 0 auto;
      height: 3.125rem;
      .list {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 5.5104rem;
        height: 1.0417rem;
        .item {
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          align-items: center;
          width: 0.6458rem;
          height: 0.8594rem;
          font-size: 0.1042rem;
          font-family: Source Han Sans SC;
          font-weight: 400;
          color: #262626;
          img {
            width: 0.6458rem;
          }
        }
      }
    }
  }
}
::v-deep .el-input__inner {
  width: 4.1667rem;
  height: 0.2708rem;
  border-radius: 0.0208rem 0 0 0.0208rem;
}
</style>
